package xkp.lesson1;

public class Exam3 {
    public static void main(String[] args) {
        char a = 'a';
        //如果是变量参与运算，则会转换为int再进行计算
        //int i=2+a;
        //如果是常量则不存在上述问题

        //1  3  5
        for (int i = 0; i < 6; i++) {
            int k = ++i;
            while (k < 5) {
                System.out.print(i);
                break;
            }
        }
        System.out.println("***********");
        UserInfo userInfo = new UserInfo();
        System.out.println(userInfo.age);

        int abc = 10;
        System.out.println(abc);


    }


}
